package com.ruoyi.project.wechat.service.impl;

import com.ruoyi.project.wechat.service.XcxVersionService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.ruoyi.project.wechat.mapper.XcxVersionMapper;
import com.ruoyi.project.wechat.domain.XcxVersionExample;
import com.ruoyi.project.wechat.domain.XcxVersion;

@Service
public class XcxVersionServiceImpl implements XcxVersionService {

    @Resource
    private XcxVersionMapper xcxVersionMapper;

    @Override
    public long countByExample(XcxVersionExample example) {
        return xcxVersionMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(XcxVersionExample example) {
        return xcxVersionMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return xcxVersionMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(XcxVersion record) {
        return xcxVersionMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(XcxVersion record) {
        return xcxVersionMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(XcxVersion record) {
        return xcxVersionMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(XcxVersion record) {
        return xcxVersionMapper.insertSelective(record);
    }

    @Override
    public List<XcxVersion> selectByExample(XcxVersionExample example) {
        return xcxVersionMapper.selectByExample(example);
    }

    @Override
    public XcxVersion selectByPrimaryKey(Integer id) {
        return xcxVersionMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(XcxVersion record, XcxVersionExample example) {
        return xcxVersionMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(XcxVersion record, XcxVersionExample example) {
        return xcxVersionMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(XcxVersion record) {
        return xcxVersionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(XcxVersion record) {
        return xcxVersionMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<XcxVersion> list) {
        return xcxVersionMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<XcxVersion> list) {
        return xcxVersionMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<XcxVersion> list) {
        return xcxVersionMapper.batchInsert(list);
    }

}



